package com.ljx.rabbit.domain.po;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Document
@Data
public class Comment implements Serializable {
    private String id;
    private Long userId;
    private String nickname;
    private String avatar;
    private Long itemId;//
    private String content;//
    private List<String> images;//
    private LocalDateTime createTime;
    private Long likenum=0L;
    private Long replynum=0L;
    private Integer rate;//
}
